import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { DictIntIntHelper } from "./DictIntIntHelper";
import { SEntityId } from "./SEntityId";
//class SBossFieldInfo
// did
export class SBossFieldInfo {
  public __write(arg1: SerializeStream): void {
    this.fieldId.__write(arg1);
    DictIntIntHelper.write(arg1, this.playerNumMap);
    DictIntIntHelper.write(arg1, this.bossNumMap);
    return;
  }

  public __read(arg1: SerializeStream): void {
    this.fieldId = new SEntityId();
    this.fieldId.__read(arg1);
    this.playerNumMap = DictIntIntHelper.read(arg1);
    this.bossNumMap = DictIntIntHelper.read(arg1);
    return;
  }

  public /* var */ fieldId!: SEntityId;

  public /* var */ playerNumMap!: Record<
    number,
    number
  > /* flash.utils.Dictionary */;

  public /* var */ bossNumMap!: Record<
    number,
    number
  > /* flash.utils.Dictionary */;
}
